﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using OOS.Core.Setmeal;

namespace OOS.Application.Setmeal.Services.Interfaces
{
    /// <summary>
    /// 套餐菜品关系管理
    /// </summary>
    public interface ISetmealDishService
    {
        /// <summary>
        /// 新增套餐菜品关系
        /// </summary>
        /// <param name="setmealDish"></param>
        /// <param name="setmealId"></param>
        /// <returns></returns>
        bool InsertSetmealDish(SetmealDish setmealDish, int setmealId);

        /// <summary>
        /// 根据套餐id查询所有套餐菜品关系
        /// </summary>
        /// <param name="setmealId"></param>
        /// <returns></returns>
        List<SetmealDish> SelectSetmealDishBysetmealId(int setmealId);

        /// <summary>
        /// 根据套餐id删除套餐菜品关系
        /// </summary>
        /// <param name="setmealId"></param>
        /// <returns></returns>
        bool DeleteSetmealDishBysetmealId(int setmealId);
    }
}
